<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>表单练习</title>
</head>
<body>
<form action="#">
    姓名<input name="name" type="text" value="kk"> <br>
    昵称<input name="nickname" readonly type="text" value="rose1"></input> <br>
    昵称<input disabled name="nickname" type="text" value="rose2"></input> <br>
    密码<input name="password" type="password"> <br>
    密码<input maxlength="6" name="password2" placeholder="请输入密码" type="password"> <br>
    性别<input name="sex" type="radio" value="male">男
    <input checked name="sex" type="radio" value="female">女 <br>
    爱好：
    <input name="hobby" type="checkbox" value="cy">抽烟
    <input name="hobby" type="checkbox" value="drink">喝酒
    <input name="hobby" type="checkbox" value="tangtou">烫头 <br>
    <input type="submit" value="点我提交">
    <input type="reset" value="重置">
    <input type="button" value="按钮">
    <button>按钮</button>
    <br>
    生日<input name="birthday" type="date">
    幸运色<input name="color" type="color">
    缩放<input name="range" type="range">
    文件<input name="file" type="file">
    喜欢的城市
    <select name="city">
        <option value="beijing">北京</option>
        <option value="shanghai">上海</option>
        <option value="shenzhen">深圳</option>
        <option selected value="hangzhou">杭州</option>
    </select>
    <input id="1" type="checkbox">
    <label for="1">同意以上协议</label>

    <label for="2">关联文字</label>
    <input id="2" type="checkbox"> <br>
    <textarea cols="30" id="3" name="textarea" rows="10" style="resize: none"></textarea><br>
    <button>评论</button>
</form>


</body>
</html>